// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";
import store from "./store";
import { Button } from "mint-ui";
import "./mock/mockServer"; //加载mockServer即可

import VueLazyload from "vue-lazyload";
import loading from "./common/img/loading.gif";
import "./filters"; // 加载过滤器

// 注册全局组件标签
Vue.component(Button.name, Button);
Vue.use(VueLazyload, {
    loading
});
Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
    el: "#app",
    router,
    store,
    render: h => h(App)
});